﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NAnt.Core;
using NAnt.Core.Attributes;
using NAnt.Core.Types;
using Amazon.S3;

namespace NAntExt.Aws.Tasks
{
    public abstract class AwsTaskBase : Task
    {

        /// <summary>
        /// The AWS access key Id for your account. This is retrieved from your AWS account online.
        /// </summary>
        [TaskAttribute("accessKeyId", Required = true)]
        [StringValidator(AllowEmpty = false)]
        public string AccessKeyId { get; set; }

        /// <summary>
        /// The AWS secret access key for your account. This is retreived from your AWS account online.
        /// </summary>
        [TaskAttribute("secretAccessKey", Required = true)]
        [StringValidator(AllowEmpty = false)]
        public string SecretAccessKey { get; set; }

    }
}
